<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta content="ko" http-equiv="Content-Language" />
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
	<title>KAIST-CANSS EventLog Detail View</title>
	<link href="design/mainframe.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
	.style1 {
		text-align: center;
		color: #FFFFFF;
		border-style: solid;
		border-width: 1px;
		padding: 1px 4px;
		background-color: #248CFC;
	}
	.style2 {
		border-style: solid;
		border-width: 1px;
	}
	img.button {
		cursor:pointer;
	}
	index
	{
		cursor:default;
	}
	input
	{
		border: #1EB1f9 2px dotted;
	}
	</style>
	
	</head>
	<body >
		<input type="button" value="돌아가기" onclick="window.close();" />
		<center>
		<TEXTAREA rows=47 cols=85>
			<% canss.webservice.service.PortalIntraWebServiceControl control=null; %>
			<%
				control = (control==null)?new canss.webservice.service.PortalIntraWebServiceControlBean():control;
				
				
				String _mid = request.getParameter("_mid");
				String _eventid = request.getParameter("_eventid");
				String _seqnum = request.getParameter("_seqnum");
				String _timestamp = request.getParameter("_timestamp");
				
				if( !canss.supports.basic.isEmpty(_mid) &&
						!canss.supports.basic.isEmpty(_eventid) &&
						!canss.supports.basic.isEmpty(_seqnum) &&
						!canss.supports.basic.isEmpty(_timestamp) )
				{
					String ret = control.getEventExtradata(_mid, Integer.parseInt(_eventid), Long.parseLong(_seqnum), java.sql.Timestamp.valueOf(_timestamp).getTime());
					if(ret!=null)
					{
						out.write(ret);
					}else
					{
						out.write("error_inner:");
						return;
					}
				}else
				{
					out.write("error:");
					return;
				}
			%>
		</TEXTAREA>
		</center>
		<input type="button" value="돌아가기" onclick="window.close();" />
	</body>
</html>
